<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>登录</title>
    <!-- 如果你的项目是服务器环境，路径中第一条斜线表示服务器根目录 -->
    <!-- 加载css或者js的原则，先加载插件的css 和js 后加载自己的css和js -->
    <!-- 加载layUi的css -->
    <link rel="stylesheet" href="/assets/lib/layui/css/layui.css">
    <!-- 加载LayuiAll的js -->
    <script src="/assets/lib/layui/layui.all.js"></script>
    <!-- 加载jq -->
    <script src="/assets/lib/jquery.js"></script>
    <!-- 自己的css 和js -->
    <link rel="stylesheet" href="/assets/css/login.css">
    <script src="/assets/js/login.js"></script>

</head>

<body>
    <!-- log start -->
    <div id="log">
        <img src="/assets/images/logo.png" alt="">
    </div>
    <!-- log end -->
    <!-- 登录 start -->
    <div class="login">
        <!-- 标题区 -->
        <div class="title"></div>
        <!-- 表单区 -->
        <form class="layui-form" action="">
            <!-- 第一行账号 -->
            <div class="layui-form-item itrm">
                <i class="layui-icon layui-icon-username"></i>
                <input type="text" name="username" required lay-verify="required" placeholder="请输入账号" autocomplete="off" class="layui-input ">
            </div>
            <!-- 第二行密码 -->
            <div class="layui-form-item itrm">
                <i class="layui-icon layui-icon-password"></i>
                <input type="password" name="password" required lay-verify="required" placeholder="请输入密码" autocomplete="off" class="layui-input">
            </div>
            <!-- 第三行 按钮 -->
            <div class="layui-form-item">

                <button class="layui-btn layui-btn-fluid layui-bg-blue" lay-submit lay-filter="formDemo">登录</button>

            </div>
            <!-- 第四行超级链接 -->
            <a href="javascript:;" id="goto-reg">还没有账号，去注册</a>
        </form>

    </div>
    <!-- 登录 end -->
    <!-- 注册 start -->
    <div class="register">
        <form class="layui-form" action="">
            <!-- 标题区 -->
            <div class="title"></div>
            <!-- 表单区 -->
            <div class="layui-form-item itrm">
                <i class="layui-icon layui-icon-username"></i>
                <input type="text" name="username" required lay-verify="required|len" placeholder="请输入标题" autocomplete="off" class="layui-input ">
            </div>
            <!-- 第二行密码 -->
            <div class="layui-form-item itrm">
                <i class="layui-icon layui-icon-password"></i>
                <input type="password" name="password" required lay-verify="required|len" placeholder="请输入密码" autocomplete="off" class="tex layui-input">
            </div>
            <!-- 第二行密码 -->
            <div class="layui-form-item itrm">
                <i class="layui-icon layui-icon-password"></i>
                <input type="password" required lay-verify="required|len|same" placeholder="请再次输入密码" autocomplete="off" class=" layui-input">
            </div>
            <!-- 第三行 按钮 -->
            <div class="layui-form-item">
                <button class="layui-btn layui-btn-fluid layui-bg-blue" lay-submit lay-filter="formDemo">注册</button>
            </div>
            <!-- 第四行超级链接 -->
            <a href="javascript:;" id="goto-login">已有账号，去登录</a>
        </form>
    </div>
    <!-- 注册 end -->
</body>

</html>